package com.ruoyi.yf.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 合同签约时间期限对象 yf_contract
 * 
 * @author XiaoYi...
 * @date 2020-03-17
 * 093800c4-01fe-4904-b5b7-8b3999a6b3e2
 */
public class YfContract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合同id */
    private Long id;

    /** 医院id sys_dep表 */
    @Excel(name = "医院id sys_dep表")
    private Long hosptalId;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 创建者 sys_user表 */
    @Excel(name = "创建者 sys_user表")
    private Long createId;

    /** 更新者 sys_user表 */
    @Excel(name = "更新者 sys_user表")
    private Long updateId;

    /** 到期状态 sys_normal_disable */
    @Excel(name = "到期状态 sys_normal_disable")
    private String status;

    /** 删除状态 	del_flag */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHosptalId(Long hosptalId) 
    {
        this.hosptalId = hosptalId;
    }

    public Long getHosptalId() 
    {
        return hosptalId;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hosptalId", getHosptalId())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("createId", getCreateId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
